package com.topgay.service;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

import com.topgay.domain.Member;
import com.topgay.domain.Message;

public interface MessageService {
	
	public abstract Member getMemberById(String id) throws SQLException;
	
	public abstract int messageSend(Message message) throws SQLException;
	
	public abstract List<Member> getMemberList() throws SQLException;
	
	public abstract Map getMessageById(String id, int pageNo) throws Exception;
	
	public abstract Map getSendMessageById(String id, int pageNo) throws Exception;
	
	public abstract Message getContentByNum(int num) throws SQLException;
	
	public abstract void deleteMessageByNum(int num) throws SQLException;
	
	public abstract int timeLineRequestSend(Message message) throws SQLException;
	
}
